home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / bbs / asydv204.zip / SAMPLE1.BAT < prev    next >
DOS Batch File  |  1996-08-07  |  1KB  |  51 lines

  1. @ECHO OFF
  2. REM   BATCH FILE FOR THE ARKHAIM ASYLUM
  3. REM   This is a sample of a batch file to be used
  4. REM   in a multinode Setup.  I use this file to run The Arkhaim Asylum
  5. REM   on an EZYCOM BBS it works perfect with no gliches what so ever..!
  6. REM   %1 is the Node Number which can be passed to the
  7. REM   batch file from the BBS software.
  8. REM   (With RemoteAccess BBS software, this can be accomplished by
  9. REM   placing *N on the command line in ; execute Sub-program)
  10. REM
  11. REM   /N1 tells The Arkhaim Asylum that it's firing up on node 1.
  12. REM   This switch is only necessary when node information is not
  13. REM   available from dropfile.    
  14. REM
  15. REM   /P{path to dropfile} tells The Arkhaim Asylum where to look for dropfile.
  16. REM  Look in ASYLUME.DOC for more command line options and batch file
  17. REM  examples.
  18. REM
  19. REM  Renaming the DORINFOx.DEF file is only necessary on BBS systems like
  20. REM  RemoteAccess which only creates a DORINFO1.DEF file.
  21. REM  The Arkhaim Asylum is looking for DORINFOx.DEF, where X is the nodenumber.
  22.  
  23.  
  24. if %1% == 1 Goto Node1
  25. if %1% == 2 Goto Node2
  26. if %1% == 3 Goto Node3
  27. if %1% == 0 Goto Local
  28. Goto End
  29.  
  30. :Node1
  31. CD\EZY\DOORS\ASYLUM
  32. ASYLUME.EXE /N1 /E /PD:\EZY
  33. Goto End
  34.  
  35. :Node2
  36. CD\EZY\DOORS\ASYLUM
  37. ASYLUME.EXE /N2 /E /PD:\EZY
  38. Goto End
  39.  
  40. :Node3
  41. CD\EZY\DOORS\ASYLUM
  42. ASYLUME.EXE /N3 /E /PD:\EZY
  43. Goto End
  44.  
  45. :Local
  46. CD\EZY\DOORS\ASYLUM
  47. ASYLUME.EXE /L /E /PD:\EZY
  48.  
  49. :End
  50. CD\EZY
  51.